package com.shiyingzi.security.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.shiyingzi.basics.model.BasicsEntity;


//@Entity
//@Table(name = "role_menu")
//@Where(clause = "delete_flag='N'")
@TableName("role_menu")
public class RoleMenu extends BasicsEntity{

	private static final long serialVersionUID = 8344864907136503910L;
	
//	@Column(name = "role_id", columnDefinition="int comment '角色ID'")
	@TableField(value = "role_id")
	private Integer roleId;
	
//	@Column(name = "menu_id", columnDefinition="int comment '菜单ID'")
	@TableField(value = "menu_id")
	private Integer menuId;
	
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public Integer getMenuId() {
		return menuId;
	}
	public void setMenuId(Integer menuId) {
		this.menuId = menuId;
	}
	@Override
	public String toString() {
		return "RoleMenu [roleId=" + roleId + ", menuId=" + menuId + "]";
	}
	
	
	

}
